x86/kexec: hide more kexec infrastructure behind CONFIG_KEXEC
authorAndrew Cooper <andrew.cooper3@citrix.com>
Tue, 24 Nov 2015 16:41:04 +0000 (17:41 +0100)
committerJan Beulich <jbeulich@suse.com>
Tue, 24 Nov 2015 16:41:04 +0000 (17:41 +0100)
commit9cf5f0affcab74a93e0beb9e64ade446d7d23e1b
treed572e771bb1888978a2991c480d49771596d3825
parent0aa684b508ebe97a486de9ec2892120e9697163d
x86/kexec: hide more kexec infrastructure behind CONFIG_KEXEC

Experimenting with the kconfig series showed that various bits of kexec
infrastructure were still being unconditionally included.  Make them
conditional on CONFIG_KEXEC.

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Reviewed-by: David Vrabel <david.vrabel@citrix.com>
xen/arch/x86/x86_64/Makefile
xen/arch/x86/xen.lds.S